<template>
  <div id="app">
    <!-- 实现组件的缓存功能 -->
    <keep-alive :include="cachesPage">
        <router-view/>
    </keep-alive>
    <!-- 实现组件的缓存功能 -->
  </div>
</template>

<script>
import { mapState } from 'vuex'
export default {
  components: {},
  computed:{
    ...mapState(['cachesPage'])
  }
}
</script>

<style lang="less">

</style>
